package lab02.test35;

public class Salesman extends Employee {
    double salary;
    double num;

    public Salesman(){}
    public Salesman(double salary,double num){
        this.salary = salary;
        this.num = num;
    }
    @Override
    public double computerSalary() {
        return salary+num*0.2;
    }


}
